added sorting algos to json returns
Signed-off-by:Matthew Scaperoth <mscapero@gwu.edu>