Sort field and uniq

I have a flatfile A.txt

2012/12/04 14:06:07 |trees|Boards 2, 3|denver|mekong|mekong12
2012/12/04 17:07:22 |trees|Boards 2, 3|denver|mekong|mekong12
2012/12/04 17:13:27 |trees|Boards 2, 3|denver|mekong|mekong12
2012/12/04 14:07:39 |rain|Boards 1|tampa|merced|merced11

How do i sort and get latest date time with uniq duplicate field 6?
Out put will be

2012/12/04 17:13:27 |trees|Boards 2, 3|denver|mekong|mekong12
2012/12/04 14:07:39 |rain|Boards 1|tampa|merced|merced11

I used this code but did not work

sort -t\| +5 -6 0 -1 A.txt | uniq

Thanks for showing me.

awk -f saber.awk myFile
where saber.awk is:

BEGIN {
  FS=OFS="|"
}
{
  f1=$1; gsub("[^0-9]","",f1)
  if (f1 > val[$NF]) {
    val[$NF]=f1
    arr[$NF]=$0
 }
}
END {
  for (i in arr)
    print arr
}

try also (a little cheesy):

sort -r -t\| -k6 A.txt | awk -F"|" '!a[$6]++' | sort -t\| -k6

or

awk -F"|" '$1>a[$6]{a[$6]=$0}END {for (i in a) print a}' A.txt | sort -t\| -k6

Thanks all. It also work with

sort -t\| -k6,6 -u A.txt