completed OOJS client-side sorting