Added sort

Sorting now works for all criteria.  Changed to string divider from \
to // for regex purposes.
Minor documentation changes to reflect this update.