fix date range regexp
sort membership ranges