通过重量模块对物品排序

I have a custom module and installed Weight module. And i want, sort items with weight on page. But i don't know how can i do this?

My module: http://pastebin.com/DuCdFdH6

Either you use the module as is (with its UI), or you use the private functions that the module internally uses.

Namely:

_weight_set_weight($node)
_weight_get_weight($node)
_weight_get_settings($type = NULL)
_weight_get_types()
_weight_get_options($range)
_weight_set_defaults($default, $type)

But clearly, as the module is defined, it expects you to use the views defined, and more generally its UI.

If you don't know how to use it, refer to its documentation.