Closed KitWallace closed 2 years ago
ordering using this code has been added to the full occupant listing
let $n := number (tokenize($occupant/number,"\D")[1])) and to sort them by side use $n mod 2
Order is explicit in the premise file, so this is used rather than trying to infer the site from road or number or patch data
The 'number' is not really a number - it may contains letters and hyphens,maybe residual commas. When ordering casually we need to extract just the leading digits and treat as a number so 20 comes before 100 [ordering in the road view is explicitly via the premise file]