Initial work on sorting status lines