Im looking at making an /hsort command, sytax would be
/hsorttok -adl <table> <totable> <tokenseperator> <token>

the -a would specify acending, and d would specify , l would specify alpha charaters decending

<table> being the table to sort and store in new table <totable>
ordered by the N specified for <token>

so a logical statement would be

/hsorttok -d scores top10 32 1
where the table contents are
<nick>|<wins> <credits> <etc....>

this would return the top10 results based on the N token and store it in the new table