fixed sorting, needs to fix firstName sorting