a simple hashSort example