done sort by opition on home list and detail