Basic sort done not tested