Mt-plugin-available-widget-sorter is a project mainly written in Perl, it's free.
This is Movable Type plugin for sorting widget list of 'Available Widgets'.