Ranking of families applying for social aids to municipalities according to their degree of neediness